@extends('welcome')
<link rel="stylesheet" href="/Home/luntan/xiangqing.css" />
@section('titletitle','商城论坛--优品惠')
@section('zhong_content')
<div class="clear"></div>
<div class="d3">
  <div class="d31"></div>
  <div class="d32">&gt;商城论坛&gt;{{$part->partname}}&gt;{{$section->sectionname}}&gt;{{$post->title}}</div>
</div>
<div class="clear"></div>
<!--帖子详情部分开始-->
<div class="f2">
  <div class="f21">&nbsp;&nbsp;用户名：<b>{{$user->username}}</b></div>
  <div class="f22">&nbsp;发表于 <?php echo date('Y-m-d H:i:s',$post->ptime);?> | 只看该作者 ★</div>
</div>
<div class="f3">
  <div class="f31">
    <div class="f311"><img src="/upload/{{$user->pic}}" width="130px" height="130px"></div>
    <div class="f312">
      <table>
        <tr>
          <th>1</th>
          <th>1</th>
          <th>5</th>
        </tr>
        <tr>
          <td>主题</td>
          <td>帖子</td>
          <td>积分</td>
        </tr>
      </table>
      <br/>
      <div>{{str_replace([1,2,3],['普通用户','管理员','超级管理员'],$user->qx)}}</div>  
      <br/>
      <div>积分&nbsp;5</div>
      <br/>
    </div>
  </div>
  <div class="f32">&nbsp;{{$post->content}}</div>
</div>
<!--帖子详情部分结束-->
<div class="clear"></div>
@endsection